package request

type CreateOrModifyUserRoleRequest struct {
	UserID string   `json:"user_id" form:"user_id" binding:"required"`
	Roles  []string `json:"roles" form:"roles" binding:"required"`
}

type DetailUserRoleRequest struct {
	ID string `json:"id" form:"id" binding:"required"`
}

type ModifyUserRoleRequest struct {
	DetailUserRoleRequest
	CreateOrModifyUserRoleRequest
}

type UserRoleInfoRequest struct {
	ID     string `json:"id" form:"id"`
	Uid    string `json:"uid" form:"uid"`
	RoleId string `json:"role_id" form:"role_id"`
}

type UserRoleListRequest struct {
	PaginationRequest
}
